package com.neusoft.his.sb.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.neusoft.his.sb.entity.Emp;

@Mapper
public interface EmpMapper {
	Emp getById(int empno);

	Emp getByIdWithLeader(int empno);
/**
 * 根据员工编号获得员工及其直属员工
 * @param empno
 * @return
 */
	Emp getByIdWithEmp(int empno);
	List<Emp> getAll();
}
